package org.study.springboot.configuration.property;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 项目配置
 * </p>
 *
 * @author fangyu
 * @version v1.0.0
 * @date 2020/11/18 2:43 下午
 */
@Data
@Component
public class ApplicationProperty {
    @Value("${application.name}")
    private String name;

    @Value("${application.version}")
    private String version;
}
